Ifdown ethx ; ifup ethx. Should do it. "service networking restart" isnt working in ubuntu, because other services are dependent on it, theres a more ... ... <看更多>
Search
Search
Ifdown ethx ; ifup ethx. Should do it. "service networking restart" isnt working in ubuntu, because other services are dependent on it, theres a more ... ... <看更多>
... <看更多>
The solution is to run the command in a new shell: command: bash -c "ifdown eth0 && ifup eth0". You can also use the shell module: ... <看更多>